$('#qued').click(function () {
    //表单序列化
    var search= $('.form-horizontal').serialize();
    var title=$('#title').val();
    var content=$('#content').val();
    var type=$('#type').val();
    var type=$('#id').val();
    // alert(title+content+type)
        $.ajax({
            'type':'POST',
            'url':'/content/updateindex',
            'dataType':'json',
            'async': false,
            'data':search,

            success: function (msg) {
                location.href="/content/content"

            },

            error: function () {
                alert("修改失败");
            },
        });

})
